Only start logind if dbus is installed
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)
committerMichael Biebl <biebl@debian.org>
Fri, 24 Jun 2022 08:12:34 +0000 (09:12 +0100)
commit66162bd409d79f6e41cd3153812f123cac268f0e
treee472c47f8f793cb675d5f5053f9393728e24ab1e
parent58f6d7d0bcb7f6ee1986547b3bbab2d20b3eb039
Only start logind if dbus is installed

logind fails to start in environments without dbus, such as LXC containers or
servers. Add a startup condition to avoid the very noisy startup failure.

Consider both dbus-daemon (the reference implementation) and
dbus-broker.

Part of #772700

Gbp-Pq: Topic debian
Gbp-Pq: Name Only-start-logind-if-dbus-is-installed.patch
units/systemd-logind.service.in